//////////////////////////////////
// Gregory R McNeil
//
// Qantm College Final Project
// Snowboarding Game
//////////////////////////////////

#ifndef TEXTURE_H
#define TEXTURE_H

#include <SDL_image.h>
#include <SDL.h>
#include <cassert>
#include <string>

#include <GL/glut.h>

class Texture
{
public:
	Texture();
	~Texture();

	void CreateFromData(unsigned char* data, int width, int height, int bytesPerPixel);

	bool Load(const std::string& filename);
	void Unload();
	void UseThisTexture();
	void EnableSphereMapping();
	void DrawTexQuad();

private:
	GLuint m_texID;
	int m_width;
	int m_height;
};

#endif